File: /var/www/kevin-demo/wp-content/themes/fitmencook/assets/css/nutrition.css
/* HERO SECTION */
html,
body {
overflow-x: hidden;
}
html {
font-size: 62.5%;
scroll-behavior: smooth;
}
.nutrition-hero-in-partnership-text {
color: rgba(102, 112, 133, 1);
font-weight: 700;
font-size: 1.4rem;
line-height: 1.9rem;
}
.nutrition-hero-section-text-wrapper {
width: 48%;
}
.nutrition-hero-section {
display: flex;
margin-top: 10rem;
justify-content: space-between;
}
.nutrition-hero-in-partnership {
display: flex;
gap: 2rem;
align-items: center;
}
.nutrition-hero-section-main-heading {
margin-top: 2rem;
font-weight: 700;
line-height: 7rem;
font-size: 6.4rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-hero-section-text {
margin-top: 2rem !important;
font-weight: 500;
font-size: 2rem;
line-height: 2.7rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-hero-button-wrapper {
display: flex;
align-items: center;
gap: 4rem;
margin-top: 4rem;
margin-bottom: 8rem;
}
.nutrition-button-main:link,
.nutrition-button-main:visited,
.nutrition-button-secondary:link,
.nutrition-button-secondary:visited {
border-radius: 0.8rem;
padding: 1.2rem 1.6rem;
font-weight: 700;
font-size: 1.5rem;
line-height: 2rem;
display: inline-flex;
text-decoration: none;
}
.nutrition-button-secondary {
align-items: center;
gap: 1rem;
}
.nutrition-button-main {
background-color: rgba(255, 136, 92, 1);
border: none;
color: rgba(21, 25, 33, 1);
}
.nutrition-button-secondary {
background-color: #fff;
border: 2px solid rgba(234, 236, 240, 1);
color: rgba(52, 64, 84, 1);
}
.nutrition-hero-img {
max-width: 100%;
border-radius: 1.6rem;
}
.nutrition-hero-blockquote {
position: relative;
}
.blockquote-svg {
position: absolute;
height: 2.4rem;
width: 2.4rem;
opacity: 0.2;
top: -50%;
}
.nutrition-hero-blockquote-text {
color: rgba(52, 64, 84, 1);
font-weight: 700;
font-size: 1.5rem !important;
line-height: 2rem;
}
.nutrition-hero-blockquote-cite {
display: inline-block;
margin-top: 1rem;
color: rgba(52, 64, 84, 1);
font-weight: 500;
font-size: 1.4rem !important;
line-height: 1.9rem;
}
.nutrition-button-main,
.nutrition-journey-banner-btn,
.nutrition-button-secondary,
.nutrition-first-step-btn {
transition: all 0.3s;
}
.nutrition-button-secondary:hover {
border: 2px solid rgba(255, 136, 92, 1);
}
.nutrition-button-main:hover,
.nutrition-journey-banner-btn:hover {
background-color: #101828;
color: #fff;
}
.nutrition-first-step-btn:hover {
background-color: rgba(52, 64, 84, 1);
color: #fff;
}
.nutrition-featured-in .fmc_logos_track {
background-color: rgba(242, 244, 247, 1);
}
/* ************************************ */
/* JOURNEY SECTION */
.nutrition-journey-section {
margin-top: 8rem;
}
.nutrition-journey-container {
display: flex;
align-items: center;
gap: 20rem;
}
.nutrition-journey-text-icon-arrow {
color: rgba(255, 136, 92, 1);
}
.nutrition-journey-text-icon-wrapper {
display: flex;
align-items: center;
gap: 2rem;
}
.heading-tertiary {
color: rgba(152, 162, 179, 1);
font-weight: 800;
font-size: 1.6rem;
line-height: 2.1rem;
letter-spacing: 4px;
text-transform: uppercase;
}
.heading-secondary {
font-weight: 800;
font-size: 4.8rem;
line-height: 5.6rem;
color: rgba(52, 64, 84, 1);
margin-top: 2rem;
}
.nutrition-journey-text {
font-weight: 500;
font-size: 1.8rem;
line-height: 2.4rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-journey-text:last-child {
margin-top: 2rem;
}
.nutrition-journey-text-container {
width: 45%;
}
.nutrition-journey-heading-container {
width: 35%;
}
.nutrition-journey-gallery-container {
margin-top: 8rem;
}
.nutrition-journey-gallery-heading {
font-weight: 700;
font-size: 2.4rem;
line-height: 3.2rem;
color: rgba(52, 64, 84, 1);
margin-bottom: 2rem !important;
}
.nutrition-journey-gallery-img-container {
display: flex;
align-items: center;
gap: 5rem;
}
.nutrition-journey-banner-text-container {
max-width: 85%;
}
.nutrition-journey-img {
max-width: 100%;
border-radius: 1.6rem;
}
.nutrition-journey-text {
font-weight: 500;
line-height: 2.4rem;
font-size: 1.8rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-journey-content-box:nth-child(2) {
align-self: start;
}
.nutrition-journey-banner {
margin-top: 8rem;
display: flex;
align-items: center;
padding: 4rem;
background-color: rgba(255, 136, 92, 1);
border-radius: 1.6rem;
}
.nutrition-journey-banner-text-title {
font-weight: 700;
font-size: 4rem;
line-height: 5.4rem;
color: #fff;
margin-bottom: 2rem;
font-family: "Alpino";
}
.nutrition-journey-banner-text {
font-weight: 600;
font-size: 1.9rem;
line-height: 2.7rem;
color: #fff;
max-width: 70%;
}
.nutrition-journey-banner-btn {
display: inline-block;
text-align: center;
text-decoration: none;
font-weight: 700;
font-size: 1.5rem;
line-height: 2rem;
color: rgba(21, 25, 33, 1);
background-color: rgba(255, 255, 255, 1);
padding: 1.2rem 1.6rem;
border-radius: 0.8rem;
align-self: flex-end;
}
.nutrition-our-offer {
margin-top: 8rem;
background-color: rgba(21, 25, 33, 1);
width: 100%;
position: relative;
}
.nutrition-hero-secondary-button-wrapper {
display: flex;
align-items: center;
gap: 1rem;
}
.nutrition-our-offer-decoration-image {
position: absolute;
top: 0;
right: 0;
}
.nutrition-our-offer-container {
padding: 8rem 0;
}
.heading-secondary-white {
color: #fff;
}
.nutrition-our-offer-heading {
width: 50%;
}
.nutrition-our-offer-text {
color: rgba(242, 244, 247, 1);
font-weight: 500;
font-size: 1.8rem;
line-height: 2.4rem;
margin-top: 2rem;
width: 50%;
margin-bottom: 8rem !important;
}
/* SLIDER */
.slider-container {
position: relative;
}
.slider {
max-width: 100%;
height: 50rem;
margin: 0 auto;
position: relative;
/* IN THE END */
overflow: hidden;
}
.slide {
position: absolute;
top: 0;
width: 100%;
height: 50rem;
/* display: flex; */
align-items: center;
justify-content: center;
/* THIS creates the animation! */
transition: transform 1s;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
}
.slider__btn {
border: none;
height: 4rem;
width: 4rem;
position: absolute;
border-radius: 50%;
cursor: pointer;
z-index: 99;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
}
.slider__btn--left {
top: 50%;
transform: translate(-50%, -50%);
}
.slider__btn--right {
top: 50%;
right: 0;
transform: translate(50%, -50%);
}
.dots {
position: absolute;
bottom: 5%;
left: 50%;
transform: translateX(-50%);
display: flex;
}
.dots__dot {
border: none;
background-color: #b9b9b9;
opacity: 0.7;
height: 1rem;
width: 1rem;
border-radius: 50%;
margin-right: 1.75rem;
cursor: pointer;
transition: all 0.5s;
}
.dots__dot:last-child {
margin: 0;
}
.dots__dot--active {
background-color: #fff;
opacity: 1;
}
/* *********** */
.nutrition-our-offer-flex-list {
display: flex;
gap: 4rem;
}
.nutrition-our-offer-item-heading {
font-weight: 700;
font-size: 2rem;
line-height: 2.8rem;
color: #fff;
margin: 2rem 0 !important;
}
.nutrition-our-offer-item:nth-of-type(2) .nutrition-our-offer-item-heading,
.nutrition-our-offer-item:nth-of-type(3) .nutrition-our-offer-item-heading {
width: 85%;
}
.nutrition-our-offer-ul {
list-style: none;
padding: 0;
}
.nutrition-our-offer-li {
display: flex;
gap: 1rem;
}
.nutrition-our-offer-li-icon {
color: rgba(52, 64, 84, 1);
width: 2.4rem;
height: 2.4rem;
background-color: rgba(146, 185, 41, 1);
border-radius: 50%;
}
.nutrition-our-offer-li-text {
color: #fff;
font-weight: 500;
font-size: 1.6rem;
line-height: 2rem;
}
.nutrition-our-offer-ul li {
color: #fff;
font-weight: 500;
font-size: 1.6rem;
line-height: 2rem;
}
.nutrition-our-offer-ul li:not(:last-child) {
margin-bottom: 2rem;
}
/* ************************* */
/* FEATURED IN */
.nutrition-featured-in-heading {
margin-top: 8rem;
font-weight: 800;
font-size: 1.6rem;
line-height: 2.1rem;
text-align: center;
color: rgba(152, 162, 179, 1);
text-transform: uppercase;
letter-spacing: 1px;
}
/* ******************** */
/* HOW IT WORKS */
.nutrition-how-it-works {
padding: 10rem 0;
}
.nutrition-how-it-works-text-container {
margin-top: 8rem;
display: flex;
align-items: center;
position: relative;
gap: 10rem;
}
.arrow-1 {
position: absolute;
top: -25%;
left: 20%;
}
.arrow-2 {
position: absolute;
bottom: -30%;
left: 60%;
}
.facebook-inst-logo-wrapper {
display: flex;
gap: 1.6rem;
align-items: center;
}
picture.social-icon img {
height: 32px;
width: 32px;
}
.facebook-inst-logo-wrapper img {
cursor: pointer;
}
.social-icon {
cursor: pointer;
}
.nutrition-how-it-works-text-container > div {
width: 32%;
}
.nutrition-how-it-works-text-container div:nth-child(1) {
width: 22%;
}
.nutrition-how-it-works-number {
font-weight: 700;
font-size: 6.4rem;
line-height: 7rem;
color: rgba(255, 136, 92, 1);
margin-bottom: 0rem;
font-family: "Alpino";
}
.nutrition-how-it-works-text {
margin-top: 2rem;
font-weight: 700;
font-size: 2rem;
line-height: 2.8rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-logos {
display: flex;
justify-content: space-between;
padding: 2rem 10rem 8rem;
border-bottom: 2px solid rgba(242, 244, 247, 1);
}
.nutrition-logos img {
max-width: 100%;
opacity: 50%;
filter: grayscale(1);
object-fit: contain;
}
.margin-sm-top {
margin-top: 4rem;
}
/* *************************************** */
/* WHY CHOSE US*/
.nutrition-why-choose-us {
width: 100%;
background-color: rgba(242, 244, 247, 1);
position: relative;
}
.why-choose-us-decoration-img {
position: absolute;
bottom: 0;
left: 0;
}
.nutrition-why-choose-us-big-container {
padding: 8rem 0;
}
.nutrition-why-choose-us-heading {
width: 50%;
}
.nutrition-why-choose-us-container {
margin-top: 8rem;
display: flex;
gap: 8rem;
}
.nutrition-why-choose-us-small-heading {
margin: 2rem 0 1rem 0 !important;
font-weight: 700;
font-size: 2rem;
line-height: 2.8rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-why-choose-us-text {
font-weight: 500;
font-size: 1.6rem;
line-height: 2.1rem;
color: rgba(102, 112, 133, 1);
}
.nutrition-why-choose-us-coach-container {
margin-top: 8rem;
display: flex;
align-items: center;
gap: 8rem;
}
.nutrition-why-choose-us-image {
max-width: 100%;
}
.nutrition-why-choose-us-coach-info-container {
margin-top: 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nutrition-why-choose-us-coach-name {
font-weight: 700;
font-size: 2rem;
line-height: 2.8rem;
color: rgba(52, 64, 84, 1);
}
.nutrition-why-choose-us-coach-specialty {
margin-top: 1rem;
color: rgba(102, 112, 133, 1);
font-weight: 500;
font-size: 1.6rem;
line-height: 2.1rem;
}
.nutrition-why-choose-us-coach-bio p {
margin-top: 1rem;
color: rgba(102, 112, 133, 1);
font-weight: 500;
font-size: 1.6rem;
line-height: 2.1rem;
}
.nutrition-hero-blockquote::before {
display: block;
content: "";
width: 3rem;
height: 3rem;
background: url(/wp-content/uploads/2025/06/quote.png) no-repeat;
}
/* ********************************************** */
/* RESULTS */
.nutrition-results {
padding: 10rem;
}
.text-center {
text-align: center;
}
.nutrition-results-heading {
width: 75%;
margin: 2rem auto;
}
.nutrition-results-review-grid {
margin-top: 4rem;
display: grid;
grid-template-columns: repeat(4, 1fr);
}
/* fix */
.nutrition-journey-text-icon-wrapper {
margin-top: 2rem;
}
.nutrition-journey-text:last-child {
margin-top: 0;
}
.nutrition-journey-text-icon-arrow {
flex-shrink: 0;
}
@media (max-width: 1000px) {
.nutrition-results-review-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 750px) {
.nutrition-results-review-grid {
grid-template-columns: repeat(2, 1fr);
}
.nutrition-faqs-heading {
width: 100% !important;
}
}
@media (max-width: 525px) {
.nutrition-results-review-grid {
grid-template-columns: repeat(1, 1fr);
}
.nutrition-results {
padding: 5rem;
}
}
.nutrition-review-img-container {
overflow: hidden;
transition: all 0.5s;
}
.nutrition-review-img-container img {
transition: all 0.5s;
}
.nutrition-review-img-container img:hover {
transform: scale(1.1);
}
/* ***************** */
/* FAQS */
.nutrition-faqs {
padding: 10rem;
}
.nutrition-faqs-heading {
width: 50%;
margin: 2rem auto;
}
.nutrition-questions {
margin-top: 8rem;
max-width: 80rem;
}
.nutrition-question {
padding-bottom: 2rem;
margin-bottom: 2rem;
border-bottom: 2px solid rgba(242, 244, 247, 1);
}
.nutrition-question-title {
display: flex;
justify-content: space-between;
cursor: pointer;
}
.question-btn {
font-size: 2.4rem;
border: none;
background-color: transparent;
cursor: pointer;
}
.nutrition-question-title p {
font-weight: 700;
font-size: 1.8rem;
line-height: 2.1rem;
color: rgba(52, 64, 84, 1);
}
.minus-icon {
display: none;
}
.nutrition-question-text {
display: none;
color: rgba(102, 112, 133, 1);
font-weight: 500;
line-height: 2.1rem;
font-size: 1.6rem;
max-width: 90%;
margin-top: 2rem;
}
.show-text .nutrition-question-text {
display: block;
}
.show-text .minus-icon {
display: inline-block;
}
.show-text .plus-icon {
display: none;
}
/* ************************ */
/* NUTRITION FIRST SETP */
.nutrition-first-step {
padding: 10rem;
/* background-image: url(/wp-content/uploads/2025/02/Rectangle-791.png); */
background-color: var(--color-1);
background-repeat: no-repeat;
background-size: cover;
border-radius: 1.6rem;
margin-bottom: 8rem;
}
.nutrition-first-step-heading {
color: #fff;
font-size: 4rem;
}
.nutrition-first-step-text {
margin-top: 1rem;
color: rgba(255, 255, 255, 1);
font-size: 2rem;
font-weight: 600;
line-height: 2.7rem;
}
.nutrition-first-step-btn {
margin-top: 4rem;
display: inline-block;
text-decoration: none;
background-color: #fff;
padding: 1.2rem 1.6rem;
color: rgba(21, 25, 33, 1);
font-weight: 700;
font-size: 1.5rem;
line-height: 2rem;
border-radius: 0.8rem;
}
@media (max-width: 75em) {
.nutrition-hero-section-image-wrapper {
width: 48%;
}
html {
font-size: 56.25%;
}
.nutrition-hero-section-image-wrapper img {
width: 80%;
}
.nutrition-journey-container {
gap: 22rem;
}
.nutrition-hero-blockquote {
width: 80%;
}
.nutrition-journey-gallery-img-container
.nutrition-journey-content-box:first-child {
align-self: baseline;
}
.nutrition-our-offer.fmc_container {
margin-left: 0;
margin-right: 0;
}
.arrow-2 {
bottom: -40%;
left: 56%;
}
.slider {
max-width: 100%;
}
.slider__btn--left {
transform: translate(-50%, -50%);
}
.slider__btn--right {
transform: translate(50%, -50%);
}
.nutrition-questions {
margin-left: auto;
margin-right: auto;
}
}
@media (max-width: 56.25em) {
.nutrition-journey-container {
gap: 18rem;
}
.slider {
max-width: 100%;
}
.slide {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.nutrition-logos img {
width: 10rem;
}
.arrow-1 {
left: 14%;
}
.slider__btn--left {
transform: translate(-50%, -50%);
}
.slider__btn--right {
transform: translate(50%, -50%);
}
.nutrition-first-step {
background-position: top;
}
.nutrition-hero-section {
flex-direction: column;
align-items: center;
}
.nutrition-hero-section-text-wrapper,
.nutrition-hero-section-image-wrapper {
width: 100%;
text-align: center;
}
.nutrition-hero-blockquote {
width: 100%;
}
.nutrition-hero-button-wrapper {
justify-content: center;
}
.nutrition-hero-in-partnership {
justify-content: center;
}
.nutrition-hero-section-image-wrapper img {
width: 70%;
}
.nutrition-logos img {
width: 8rem;
}
.nutrition-logos {
gap: 2rem;
}
.nutrition-first-step {
background-position: unset;
}
}
@media (max-width: 44em) {
html {
font-size: 50%;
}
.arrow-2 {
width: 10rem;
left: 51%;
}
.arrow-1 {
width: 10rem;
}
}
@media (max-width: 37.5em) {
html {
font-size: 50%;
}
.arrow-2 {
display: none;
}
.arrow-1 {
display: none;
}
.nutrition-journey-gallery-img-container {
flex-direction: column;
}
.nutrition-hero-section-image-wrapper {
text-align: center;
}
.nutrition-hero-section-text-wrapper {
width: 100%;
}
.nutrition-hero-in-partnership {
justify-content: center;
}
.nutrition-hero-button-wrapper {
justify-content: center;
}
.nutrition-hero-blockquote {
width: 80%;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.nutrition-journey-container {
gap: 5rem;
flex-direction: column;
text-align: center;
}
.nutrition-journey-heading-container,
.nutrition-journey-text-container {
width: 100%;
}
.nutrition-journey-banner {
flex-direction: column;
}
.nutrition-journey-banner-text-container {
width: 100%;
margin-bottom: 4rem;
align-self: flex-start;
}
.nutrition-journey-banner-text {
max-width: 100%;
}
.nutrition-journey-banner-btn {
align-self: flex-start;
}
.nutrition-our-offer-flex-list {
flex-direction: column;
}
.nutrition-logos {
justify-content: center;
}
.nutrition-why-choose-us-container {
flex-direction: column;
}
.nutrition-results-heading {
width: 100%;
}
.nutrition-faqs {
padding: 6rem;
}
.nutrition-first-step {
padding: 5rem;
}
.nutrition-why-choose-us-heading {
width: 100%;
}
.nutrition-logos {
flex-direction: column;
align-items: center;
margin-top: 4rem;
gap: 4rem;
}
.nutrition-logos img {
width: 12rem;
}
.nutrition-how-it-works-text-container {
gap: 4rem;
flex-direction: column;
align-items: flex-start;
}
.nutrition-how-it-works-text-container > div {
width: 100%;
}
}
@media (max-width: 28em) {
.nutrition-faqs-heading {
width: 100%;
}
.nutrition-our-offer-li-text {
font-size: 1.9rem;
}
.nutrition-results-heading {
width: 100%;
}
.nutrition-logos {
padding: 2rem 0rem 8rem;
gap: 2rem;
}
.nutrition-hero-section {
flex-direction: column;
}
.nutrition-hero-section-text-wrapper {
text-align: center;
}
}
.facebook-inst-logo-wrapper {
display: flex;
gap: 1.6rem;
align-items: center;
}
.nutrition-why-choose-us-coach-info-container {
gap: 2rem;
}
.nutrition-why-choose-us-image {
border-radius: 11px;
max-height: 50rem;
width: 100%;
}
.nutrition-why-choose-us-coach-info {
max-width: 70%;
}
@media screen and (max-width: 900px) {
.nutrition-why-choose-us-coach-info {
max-width: 80%;
}
}
@media screen and (max-width: 600px) {
.nutrition-why-choose-us-coach-container {
flex-direction: column;
}
.nutrition-why-choose-us-coach-info {
max-width: 100%;
}
.nutrition-why-choose-us-image {
max-width: 100%;
}
}
@media screen and (max-width: 1200px) {
.nutrition-why-choose-us-coach-info-container {
flex-direction: column;
align-items: start !important;
}
}